package io.coderyeah.search.service;

import io.coderyeah.basic.Result;
import io.coderyeah.search.domain.SearchMasterMsg;
import com.baomidou.mybatisplus.extension.service.IService;
import io.coderyeah.search.dto.SearchDTO;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
* @author coderyeah
* @description 针对表【t_search_master_msg】的数据库操作Service
* @createDate 2022-09-28 10:43:32
*/
public interface SearchMasterMsgService extends IService<SearchMasterMsg> {

    Result publish(SearchMasterMsg searchMasterMsg, HttpServletRequest req);

    Result getAllMsgByUserId(SearchDTO searchDTO, HttpServletRequest req);

    Result toHandle(SearchDTO searchDTO, HttpServletRequest req);

    Result pool(SearchDTO searchDTO, HttpServletRequest req);

    Result getFinishedMsg(SearchDTO searchDTO, HttpServletRequest req);

    Result reject(Long id);

    Result accept(Map<String, String> map);
}

